﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common.Utilities.OpenXml
{
	/// <summary>
	/// 
	/// </summary>
	[Serializable]
	public class ChartDataBinding
	{
		private string _WorksheetName;
		/// <summary></summary>
		public string WorksheetName
		{
			get
			{
				return this._WorksheetName;
			}
			set
			{
				this._WorksheetName = value;
			}
		}

		private string _ChartName;
		/// <summary></summary>
		public string ChartName
		{
			get
			{
				return this._ChartName;
			}
			set
			{
				this._ChartName = value;
			}
		}

		private ChartFieldType _ChartFieldType;
		/// <summary></summary>
		public ChartFieldType ChartFieldType
		{
			get
			{
				return this._ChartFieldType;
			}
			set
			{
				this._ChartFieldType = value;
			}
		}

		private string _SeriesName;
		/// <summary></summary>
		public string SeriesName
		{
			get
			{
				return this._SeriesName;
			}
			set
			{
				this._SeriesName = value;
			}
		}

		private string _Formular;
		/// <summary>
		/// place holder include
		/// ${data field key}
		/// ${FirstRow}
		/// ${LastRow}
		/// ${ColumnPos}
		/// #{SummaryRow}
		/// </summary>
		public string Formular
		{
			get
			{
				return this._Formular;
			}
			set
			{
				this._Formular = value;
			}
		}
	}
}
